import { FMediator } from "../Libs/Framework/Support/FMediator";
import { ModuleNames } from "../Libs/Framework/Enums/ModuleNames";
import joinDeskModule from "../Modules/Lobby/joinDeskModule";
import CreateDeskModule from "../Modules/Lobby/createDeskModule";
import { ResouceManager } from "../Libs/Framework/Managers/ResouceManager";

export default class LobbyMeditor extends FMediator {
    protected initModules(): void {
        this.addModule(ModuleNames.Joindesk, joinDeskModule)
        this.addModule(ModuleNames.CreateDesk, CreateDeskModule)
        
        ResouceManager.LoadPrefab('Common/GameToggle');

        super.initModules()
    }
}